/* eslint-disable indent */
const Mock = require('mockjs')

const data = [{
    path: '/target-setting',
    title: 'Target setting',
    component: '/target-setting',
  },
  {
    path: '/annual-performance-appraisal',
    title: 'AnnualPerformanceAppraisal',
    component: '/annual-performance-appraisal',
  },
  {
    'path': '/my-team',
    title: 'MyTeam',
    component: '/my-team',
  },
  {
    path: '/reporting',
    title: 'Reporting',
    component: '/reporting',
  },
  {
    path: '/setting',
    title: 'Setting',
    children: [{
        path: 'authorization',
        title: 'Authorization',
        component: '/authorization'
      },
      {
        path: 'delegation',
        title: 'Delegation',
        component: '/delegation'
      },
      {
        path: 'user-information',
        title: 'UserInformation',
        component: '/user-information'
      },
      {
        path: 'super-admin',
        title: 'SuperAdmin',
        component: '/super-admin'
      }
    ]
  },
  {
    'path': '/help',
    title: 'Help',
    component: '/help',
  },
];
module.exports = [{
  url: '/menu/getMenuList',
  type: 'get',
  response: config => {
    return {
      code: 20000,
      data
    }
  }
}]
